package com.jiangjiang.eshop.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PurchaseInputOrderItem
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/13 21:44
 * @Version 1.0
 **/
@Data
@TableName("wms_purchase_input_order_item")
public class PurchaseInputOrderItem {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 采购入库单id
     */
    @TableField("purchase_input_order_id")
    private Long purchaseInputOrderId;

    /**
     * 商品sku id
     */
    @TableField("goods_sku_id")
    private Long goodsSkuId;

    /**
     * 采购数量
     */
    @TableField("purchase_count")
    private Long purchaseCount;

    /**
     * 采购价格
     */
    @TableField("purchase_price")
    private Long purchasePrice;

    /**
     * 合格商品数量
     */
    @TableField("qualified_count")
    private Long qualifiedCount;

    /**
     * 到货商品数量
     */
    @TableField("arrival_count")
    private Long arrivalCount;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
